package com.example.boot.repository

import com.example.boot.domain.User
import org.springframework.data.jpa.repository.JpaRepository

interface UserRepository : JpaRepository<User, Long> {
    fun findUserById(id: Long): User

    fun existsByName(name: String): Boolean
}